Builder

class Builder

A builder of MouseReleased.

Builders are created by invoking newBuilder. Each of the setter methods modifies the state of the builder and returns the same instance. Builders are not thread-safe and should not be used concurrently from multiple threads without external synchronization.

Functions

Link copied to clipboard
open fun build(): MouseReleased
Returns a new MouseReleased instance built from the current state of this builder.
Link copied to clipboard
open fun button(mouseButton: MouseButton): MouseReleased.Builder
Sets the button that was released.
Link copied to clipboard
open fun clickCount(clickCount: Int): MouseReleased.Builder
Sets the count of consecutive clicks that happened in a short amount of time.
Link copied to clipboard
Sets the keyboard modifiers applied.
Link copied to clipboard
open fun locationOnScreen(locationOnScreen: Point): MouseReleased.Builder
Sets the mouse position relative to the bounds of the screen.
Link copied to clipboard
Sets the mouse modifiers applied.